package com.hualan.sfzy.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 心理测试结果表
public class PsychologyTestResult {
    private Integer id;
    private int score;
    private String content;
    private Integer psychologyTestId;
    private Integer userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date testTime;
    private Integer del;

    // 用户表的关联关系
    private  SystemUsers systemUsers;
    // 心理测试表的关联关系
    private PsychologyTest psychologyTest;


}
